package examples.rrc;

class TimeThread extends Thread
{
	private long calc_start_time;
	protected long time_unit, time_tolerant;
	protected long offset_time, c_time, logical_time;

	// Get time elapsed between now and when computation started
	protected long get_calc_time()
	{ return System.currentTimeMillis()  - calc_start_time;}

	// Set starting time of computation
	protected void set_calc_start()
	{ calc_start_time = System.currentTimeMillis() ; }

}

